package com.zhuoyue.biz.core.api.dao;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuoyue.biz.core.api.domain.LocalSceneDO;

/**
 * @author wjming
 */
public interface LocalSceneDao extends BaseMapper<LocalSceneDO> {

    /**
     * 查询已经存在的本地场景的编号
     *
     * @param homeId
     * @return
     */
    List<Integer> selectLocalSceneCodeByHomeId(String homeId);

    /**
     * 查询已经存在的本地场景的编号
     *
     * @param gatewayMac
     * @return
     */
    List<Integer> selectLocalSceneCodeByGatewayMac(String gatewayMac);
}
